package com.project.webservice.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.time.LocalTime;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("T_UserLog")
public class TUserLog extends Model<TUserLog> {
    @TableField("SessionID")
    private String sessionId;

    @TableField("LoginDT")
    private LocalDateTime loginDt;

    @TableField("UID")
    private String uid;

    @TableField("HostAddress")
    private String hostAddress;

    @TableField("logoutDT")
    private LocalDateTime logoutDt;
}
